package dk.mirasola.systemtraining.user.shared.service;

import com.google.gwt.user.client.rpc.AsyncCallback;
import dk.mirasola.systemtraining.user.shared.transfer.UserDistributionFilterTO;

import java.util.List;
import java.util.Set;

public interface UserDistributionFilterDataProviderServiceAsync {
    void getUserDistributionFilters(int firstResult, int maxResults, AsyncCallback<List<UserDistributionFilterTO>> async);

    void createUserDistibutionFilter(UserDistributionFilterTO userDistributionFilterTO, AsyncCallback<String> async);

    void initialData(AsyncCallback<int[]> async);

    void deleteUserDistributionFilter(Set<String> userDistributionFilterIds, AsyncCallback<Void> async);

    void updateUserDistributionFilter(UserDistributionFilterTO userDistributionFilter, AsyncCallback<Void> async);
}
